package com.rent.collectrent.dto;

import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author news
 * *@date 2025/9/28
 */
@Data
@Builder
public class WriteOffResponse implements Serializable {
    /**
     * 批次号
     */
    private String batchNo;
    /**
     * 状态
     */
    private String status;
    private String message;
    /**
     * 核销总笔数
     */
    private Integer totalCount;
    /**
     * 核销总本金
     */
    private BigDecimal totalPrincipal;
    /**
     * 核销总利息
     */
    private BigDecimal totalInterest;
    /**
     * 核销总金额
     */
    private BigDecimal totalAmount;
    /**
     * 耗时(秒)
     */
    private Integer durationSeconds;
}
